package router

import (
	"github.com/gin-gonic/gin"
	"week1-project/controller"
)

func Router(router *gin.Engine) {
	v1 := router.Group("/v1")
	{
		//发布
		v1.POST("/release", controller.VideoRelease)
		//列表
		v1.POST("/list", controller.VideoList)
		//云上传
		v1.POST("/oss", controller.CloudUpload)
		//图片水印上传
		v1.POST("/upload", controller.Upload)
	}
}
